package Practice04;

import java.util.Arrays;

public class test1 {
    public static void main(String[] args) {

        int[] arrays = new int[20];

        Arrays.fill(arrays,0,8,2);
        Arrays.fill(arrays,8,20,22);
         System.out.println(Arrays.toString(arrays));
    }
}
